import {request} from './index'

export  default  {
    GetResources(current_page){
        return request({
            url:`/resource/to_audit/list?current_page=${current_page}`,
            method:'get',
        })
    },
    ResourcesPass(id){
        return request({
            url: `/resource/audit/pass`,
            method: 'put',
            data:{
                id
            }
        })
    },
    ResourcesFail(id,audit_opinion){
        return request({
            url: '/resource/audit/no_pass',
            method: 'put',
            data:{
                id,audit_opinion
            }

        })
    }
}
